package com.cdks.wuxiu.api.service.mysql;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdks.wuxiu.entity.mysql.VideoShowInfo;

/**
 * 用户视频信息表 服务类
 */
public interface VideoShowInfoService extends IService<VideoShowInfo> {
    int deleteByUser(Long userId);
    int deleteByName(Long userId, String videoUri);
    int addPlayCount(Long videoId);
    int addRewardCount(Long videoId);

    List<VideoShowInfo> getVideosByUser(Long userId, Integer page);
    List<VideoShowInfo> getPlayList(long selfId, int sex);
}
